package com.dc.designPattern._11_proxy.impl._2_dynamic;

/**
 * Description: 动态代理_被代理类
 * @author: gdc
 * @date: 2021/4/14
 * @version 1.0
 */
public class TeacherDao implements ITeacherDao {

	@Override
	public void teach() {
		System.out.println(" 老师授课中.... ");
	}

	@Override
	public void sayHello(String name) {
		System.out.println("hello " + name);
	}
	
}